// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizappextendeditor', 'ibizappextendeditorname', 'extensionflag', 'extendeditortype', 'documentaddress', 'extendeditordescription', 'ibizappextendeditorid', 'srfkey', 'srfdataaccaction', 'srfmajortext', ...wfKey];
    }

    get ibizappextendeditorname() {
        return this.$DO.ibizappextendeditorname;
    }

    set ibizappextendeditorname(value: any) {
        this.$DO.ibizappextendeditorname = value;
    }
    get extensionflag() {
        return this.$DO.extensionflag;
    }

    set extensionflag(value: any) {
        this.$DO.extensionflag = value;
    }
    get extendeditortype() {
        return this.$DO.extendeditortype;
    }

    set extendeditortype(value: any) {
        this.$DO.extendeditortype = value;
    }
    get documentaddress() {
        return this.$DO.documentaddress;
    }

    set documentaddress(value: any) {
        this.$DO.documentaddress = value;
    }
    get extendeditordescription() {
        return this.$DO.extendeditordescription;
    }

    set extendeditordescription(value: any) {
        this.$DO.extendeditordescription = value;
    }
    get ibizappextendeditorid() {
        return this.$DO.ibizappextendeditorid;
    }

    set ibizappextendeditorid(value: any) {
        this.$DO.ibizappextendeditorid = value;
    }
    get srfkey() {
        return this.$DO.ibizappextendeditorid;
    }

    set srfkey(value: any) {
        this.$DO.ibizappextendeditorid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizappextendeditorid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizappextendeditorid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizappextendeditorname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizappextendeditorname = value;
    }

    set ibizappextendeditor(value: any) {
        this.$DO.ibizappextendeditorid = value;
    }
    get ibizappextendeditor() {
        return this.$DO.ibizappextendeditorid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]